#ifndef _DISPLAY_NES_H_
#define _DISPLAY_NES_H_
#include <stdint.h>
// #include "settings.h"
typedef enum esplay_scale_option {
   SCALE_NONE = 0,
   SCALE_FIT = 1,
   SCALE_STRETCH = 2
} esplay_scale_option;

typedef enum ScaleAlghorithm {
	NEAREST_NEIGHBOR = 0,
	BILINIER_INTERPOLATION,
	BOX_FILTERED
} ScaleAlghorithm;

#define NES_FRAME_WIDTH 256
#define NES_FRAME_HEIGHT 224

void write_nes_frame(const uint8_t * data, esplay_scale_option scale);

#endif /* _DISPLAY_NES_H_ */